-module(city).

-include("records.hrl").
-include_lib("eunit/include/eunit.hrl").

create(Name, X, Y) -> #city{name = Name, x = X, y = Y, army = #army{}}.

%% Tests

creation_test_() ->
	City = create("Fantastic City", 100, -100),
	[
	?_assertMatch([], (City#city.army)#army.troops)
	].
